package com.bsj.pay.model;

import java.io.Serializable;

import com.bsj.pay.util.json.serializer.DateTimeJsonSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class AccountBean implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 6406013765944608952L;

	private Long id;
	private String official_user_id;
    private String operator;
    private String account;
    private String password;
    private Long create_user;
    @JsonSerialize(using = DateTimeJsonSerializer.class )
    private Long create_time;
    @JsonSerialize(using = DateTimeJsonSerializer.class )
    private Long update_time;
    private Long buy_last_time;
    private Integer status;
    private Integer login_status;
    private String remarks;
    private String proxy_ip;
    private Integer proxy_port;
    private Long proxy_expire_time;
    private Integer proxy_fail_times;
    private String login_cookie;
    private Long login_cookie_expire_time;
    private Integer quota;
    private String token;
    private Integer today_amount;
    private Integer all_amount;
    private Integer buy_count;
    private String info;
    @JsonSerialize(using = DateTimeJsonSerializer.class )
    private Long bind_last_time;
    private Integer bind_fail_count;
    private Integer auth_status;
    private boolean is_temp;//临时查单账号
    private Long temp_id;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Long getCreate_user() {
		return create_user;
	}
	public void setCreate_user(Long create_user) {
		this.create_user = create_user;
	}
	public Long getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Long create_time) {
		this.create_time = create_time;
	}
	public Long getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(Long update_time) {
		this.update_time = update_time;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getLogin_status() {
		return login_status;
	}
	public void setLogin_status(Integer login_status) {
		this.login_status = login_status;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public String getProxy_ip() {
		return proxy_ip;
	}
	public void setProxy_ip(String proxy_ip) {
		this.proxy_ip = proxy_ip;
	}
	public Integer getProxy_port() {
		return proxy_port;
	}
	public void setProxy_port(Integer proxy_port) {
		this.proxy_port = proxy_port;
	}
	public Long getProxy_expire_time() {
		return proxy_expire_time;
	}
	public void setProxy_expire_time(Long proxy_expire_time) {
		this.proxy_expire_time = proxy_expire_time;
	}
	public Integer getProxy_fail_times() {
		return proxy_fail_times;
	}
	public void setProxy_fail_times(Integer proxy_fail_times) {
		this.proxy_fail_times = proxy_fail_times;
	}
	public Integer getToday_amount() {
		return today_amount;
	}
	public void setToday_amount(Integer today_amount) {
		this.today_amount = today_amount;
	}
	public Integer getAll_amount() {
		return all_amount;
	}
	public void setAll_amount(Integer all_amount) {
		this.all_amount = all_amount;
	}
	public String getLogin_cookie() {
		return login_cookie;
	}
	public void setLogin_cookie(String login_cookie) {
		this.login_cookie = login_cookie;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public Integer getQuota() {
		return quota;
	}
	public void setQuota(Integer quota) {
		this.quota = quota;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public String getOperator() {
		return operator;
	}
	public void setOperator(String operator) {
		this.operator = operator;
	}
	public Long getBuy_last_time() {
		return buy_last_time;
	}
	public void setBuy_last_time(Long buy_last_time) {
		this.buy_last_time = buy_last_time;
	}
	public Integer getBuy_count() {
		return buy_count;
	}
	public void setBuy_count(Integer buy_count) {
		this.buy_count = buy_count;
	}
	public String getOfficial_user_id() {
		return official_user_id;
	}
	public void setOfficial_user_id(String official_user_id) {
		this.official_user_id = official_user_id;
	}
	
	public Long getBind_last_time() {
		return bind_last_time;
	}
	public void setBind_last_time(Long bind_last_time) {
		this.bind_last_time = bind_last_time;
	}
	public Integer getBind_fail_count() {
		return bind_fail_count;
	}
	public void setBind_fail_count(Integer bind_fail_count) {
		this.bind_fail_count = bind_fail_count;
	}
	
	public boolean isIs_temp() {
		return is_temp;
	}
	public void setIs_temp(boolean is_temp) {
		this.is_temp = is_temp;
	}
	public Long getTemp_id() {
		return temp_id;
	}
	public void setTemp_id(Long temp_id) {
		this.temp_id = temp_id;
	}
	public Integer getAuth_status() {
		return auth_status;
	}
	public void setAuth_status(Integer auth_status) {
		this.auth_status = auth_status;
	}

	public Long getLogin_cookie_expire_time() {
		return login_cookie_expire_time;
	}

	public AccountBean setLogin_cookie_expire_time(Long login_cookie_expire_time) {
		this.login_cookie_expire_time = login_cookie_expire_time;
		return this;
	}
}